home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gimp.idb / usr / freeware / include / libgimp / gimpimage_pdb.h.z / gimpimage_pdb.h
Encoding:
C/C++ Source or Header  |  2002-07-08  |  8.6 KB  |  158 lines

  1. /* LIBGIMP - The GIMP Library
  2.  * Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
  3.  *
  4.  * gimpimage_pdb.h
  5.  *
  6.  * This library is free software; you can redistribute it and/or
  7.  * modify it under the terms of the GNU Lesser General Public
  8.  * License as published by the Free Software Foundation; either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * This library is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.  * Lesser General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU Lesser General Public
  17.  * License along with this library; if not, write to the
  18.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19.  * Boston, MA 02111-1307, USA.
  20.  */
  21.  
  22. /* NOTE: This file is autogenerated by pdbgen.pl */
  23.  
  24. #ifndef __GIMP_IMAGE_PDB_H__
  25. #define __GIMP_IMAGE_PDB_H__
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif /* __cplusplus */
  30.  
  31. /* For information look into the C source or the html documentation */
  32.  
  33.  
  34. gint*             gimp_image_list                     (gint               *num_images);
  35. gint32            gimp_image_new                      (gint                width,
  36.                                gint                height,
  37.                                GimpImageBaseType   type);
  38. gboolean          gimp_image_resize                   (gint32              image_ID,
  39.                                gint                new_width,
  40.                                gint                new_height,
  41.                                gint                offx,
  42.                                gint                offy);
  43. gboolean          gimp_image_scale                    (gint32              image_ID,
  44.                                gint                new_width,
  45.                                gint                new_height);
  46. gboolean          gimp_image_delete                   (gint32              image_ID);
  47. gboolean          gimp_image_free_shadow              (gint32              image_ID);
  48. gint*             gimp_image_get_layers               (gint32              image_ID,
  49.                                gint               *num_layers);
  50. gint*             gimp_image_get_channels             (gint32              image_ID,
  51.                                gint               *num_channels);
  52. gboolean          gimp_image_unset_active_channel     (gint32              image_ID);
  53. gint32            gimp_image_pick_correlate_layer     (gint32              image_ID,
  54.                                gint                x,
  55.                                gint                y);
  56. gboolean          gimp_image_raise_layer              (gint32              image_ID,
  57.                                gint32              layer_ID);
  58. gboolean          gimp_image_lower_layer              (gint32              image_ID,
  59.                                gint32              layer_ID);
  60. gboolean          gimp_image_raise_layer_to_top       (gint32              image_ID,
  61.                                gint32              layer_ID);
  62. gboolean          gimp_image_lower_layer_to_bottom    (gint32              image_ID,
  63.                                gint32              layer_ID);
  64. gint32            gimp_image_merge_visible_layers     (gint32              image_ID,
  65.                                GimpMergeType       merge_type);
  66. gint32            gimp_image_merge_down               (gint32              image_ID,
  67.                                gint32              merge_layer_ID,
  68.                                GimpMergeType       merge_type);
  69. gint32            gimp_image_flatten                  (gint32              image_ID);
  70. gboolean          gimp_image_add_layer                (gint32              image_ID,
  71.                                gint32              layer_ID,
  72.                                gint                position);
  73. gboolean          gimp_image_remove_layer             (gint32              image_ID,
  74.                                gint32              layer_ID);
  75. gboolean          gimp_image_add_layer_mask           (gint32              image_ID,
  76.                                gint32              layer_ID,
  77.                                gint32              mask_ID);
  78. gboolean          gimp_image_remove_layer_mask        (gint32              image_ID,
  79.                                gint32              layer_ID,
  80.                                GimpMaskApplyMode   mode);
  81. gboolean          gimp_image_raise_channel            (gint32              image_ID,
  82.                                gint32              channel_ID);
  83. gboolean          gimp_image_lower_channel            (gint32              image_ID,
  84.                                gint32              layer_ID);
  85. gboolean          gimp_image_add_channel              (gint32              image_ID,
  86.                                gint32              channel_ID,
  87.                                gint                position);
  88. gboolean          gimp_image_remove_channel           (gint32              image_ID,
  89.                                gint32              channel_ID);
  90. gint32            gimp_image_active_drawable          (gint32              image_ID);
  91. GimpImageBaseType gimp_image_base_type                (gint32              image_ID);
  92. guint8*           _gimp_image_get_cmap                (gint32              image_ID,
  93.                                gint               *num_bytes);
  94. gboolean          _gimp_image_set_cmap                (gint32              image_ID,
  95.                                gint                num_bytes,
  96.                                guint8             *cmap);
  97. gboolean          gimp_image_undo_is_enabled          (gint32              image_ID);
  98. gboolean          gimp_image_undo_enable              (gint32              image_ID);
  99. gboolean          gimp_image_undo_disable             (gint32              image_ID);
  100. gboolean          gimp_image_undo_freeze              (gint32              image_ID);
  101. gboolean          gimp_image_undo_thaw                (gint32              image_ID);
  102. gboolean          gimp_image_clean_all                (gint32              image_ID);
  103. gint32            gimp_image_floating_selection       (gint32              image_ID);
  104. gint32            gimp_image_floating_sel_attached_to (gint32              image_ID);
  105. gboolean          _gimp_image_thumbnail               (gint32              image_ID,
  106.                                gint                width,
  107.                                gint                height,
  108.                                gint               *ret_width,
  109.                                gint               *ret_height,
  110.                                gint               *bpp,
  111.                                gint               *thumbnail_data_count,
  112.                                guint8            **thumbnail_data);
  113. gboolean          gimp_image_set_tattoo_state         (gint32              image_ID,
  114.                                gint                tattoo);
  115. gint              gimp_image_get_tattoo_state         (gint32              image_ID);
  116. gint              gimp_image_width                    (gint32              image_ID);
  117. gint              gimp_image_height                   (gint32              image_ID);
  118. gint32            gimp_image_get_active_layer         (gint32              image_ID);
  119. gboolean          gimp_image_set_active_layer         (gint32              image_ID,
  120.                                gint32              active_layer_ID);
  121. gint32            gimp_image_get_active_channel       (gint32              image_ID);
  122. gboolean          gimp_image_set_active_channel       (gint32              image_ID,
  123.                                gint32              active_channel_ID);
  124. gint32            gimp_image_get_selection            (gint32              image_ID);
  125. gboolean          gimp_image_get_component_active     (gint32              image_ID,
  126.                                GimpChannelType     component);
  127. gboolean          gimp_image_set_component_active     (gint32              image_ID,
  128.                                GimpChannelType     component,
  129.                                gboolean            active);
  130. gboolean          gimp_image_get_component_visible    (gint32              image_ID,
  131.                                GimpChannelType     component);
  132. gboolean          gimp_image_set_component_visible    (gint32              image_ID,
  133.                                GimpChannelType     component,
  134.                                gboolean            visible);
  135. gchar*            gimp_image_get_filename             (gint32              image_ID);
  136. gboolean          gimp_image_set_filename             (gint32              image_ID,
  137.                                gchar              *filename);
  138. gboolean          gimp_image_get_resolution           (gint32              image_ID,
  139.                                gdouble            *xresolution,
  140.                                gdouble            *yresolution);
  141. gboolean          gimp_image_set_resolution           (gint32              image_ID,
  142.                                gdouble             xresolution,
  143.                                gdouble             yresolution);
  144. GimpUnit          gimp_image_get_unit                 (gint32              image_ID);
  145. gboolean          gimp_image_set_unit                 (gint32              image_ID,
  146.                                GimpUnit            unit);
  147. gint32            gimp_image_get_layer_by_tattoo      (gint32              image_ID,
  148.                                gint                tattoo);
  149. gint32            gimp_image_get_channel_by_tattoo    (gint32              image_ID,
  150.                                gint                tattoo);
  151.  
  152.  
  153. #ifdef __cplusplus
  154. }
  155. #endif /* __cplusplus */
  156.  
  157. #endif /* __GIMP_IMAGE_PDB_H__ */
  158.